package com.youzan.cloud.component.biz.member.linker.restlinker;

import com.youzan.cloud.connect.service.common.domain.BizServiceInfo;
import com.youzan.cloud.connect.service.sdk.ConnectServiceResponse;
import com.youzan.cloud.connect.service.sdk.DirectRestLinker;
import org.apache.http.HttpResponse;
import org.apache.http.client.methods.HttpUriRequest;

import java.io.IOException;

/**
 * @author tangsen233
 * @version 1.0
 * @description:  会员是否注册连接器
 * @date 2021/8/26 19:42
 */
public abstract class MemberCheckCreateRestLinker <T> implements DirectRestLinker<T, Boolean> {

    @Override
    public abstract HttpUriRequest buildHttpUriRequest(T t) ;

    @Override
    public abstract BizServiceInfo getBizServiceInfo() ;
    @Override
    public abstract ConnectServiceResponse<Boolean> handleResponse(HttpResponse httpResponse) throws IOException;
}